<div class="container">

        <#list query.list  as entity>
            <div style="margin-bottom: 20px">
                    <div class="row news-detail" id="product-${entity.id}">
                        <div class="col-5">
                            <a href="/productDetails.html?id=${entity.id}">
                            <img src="${entity.img}">
                            </a>
                        </div>
                        <div class="col-7">
                            <a href="/productDetails.html?id=${entity.id}">
                            <h4>${entity.name}</h4>
                            <p>${entity.intro} </p>
                            </a>
                            <p>兑换积分:<span data-json='${entity.jsonString}'>${entity.salePrice} &nbsp;<button type="button" class="btn btn-info btn-sm shopBtn">立即兑换</button>&nbsp<button type="button" class="btn btn-danger btn-sm saveBtn">加入购物车</button></span></p>
                          <#--  <p>data-json='${entity.jsonString}'>兑换积分:<span>${entity.salePrice}</span>&nbsp;&nbsp;&nbsp;&nbsp;<button type="button" data-id='${entity.product.id}' class="btn btn-info btn-sm shopBtn">立即兑换</button>&nbsp;&nbsp;<button type="button" data-id='${entity.product.id}' class="btn btn-danger btn-sm saveBtn">加入购物车</button></p>-->
                        </div>
                    </div>
                <hr>
            </div>
        </#list>
</div>